﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Besture.Model
{
    public class SeoModel<T> where T:BaseModel
    {
        /// <summary>
        /// 加载Seo数据
        /// </summary>
        /// <param name="t"></param>
        /// <param name="seoTitle">标题</param>
        /// <param name="seoKeywords">关键字</param>
        /// <param name="seoDescription">说明</param>
        /// <returns></returns>
        public T LoadSeo(T t, string seoTitle, string seoKeywords, string seoDescription)
        {
            t.SeoTitle = seoTitle;
            t.SeoKeywords = seoKeywords;
            t.SeoDescription = seoDescription;
            return t;
        }

    }
}
